const businessColumns = {
  business: [
    {
      title: '状态',
      dataIndex: 'state',
      filters: [
        { text: '未完结', value: 'transfer' },
        { text: '完结', value: 'new' }
      ],
      filterMultiple: false
    },
    {
      title: '专利申请号',
      dataIndex: 'patent_no',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '合同/业务编号',
      dataIndex: 'contract_no',
      scopedSlots: { customRender: 'contract_no' }
    },
    {
      title: '顾问/组别/组长',
      dataIndex: 'adviser',
      scopedSlots: { customRender: 'adviser' }
    },
    // {
    //   title: '专利流程',
    //   dataIndex: 'receiver',
    //   scopedSlots: { customRender: 'receiver' },
    //   width: '130px'
    // },
    {
      title: '业务名称',
      dataIndex: 'business_name',
      filterDropdown: 'filterDropdown',
      ellipsis: true
    },
    {
      title: '专利名称',
      dataIndex: 'zl_name',
      scopedSlots: {
        customRender: 'zl_name',
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '第一申请人',
      dataIndex: 'customer_name',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    // {
    //   title: '费用',
    //   dataIndex: 'official_fee',
    //   width: '130px',
    //   scopedSlots: { customRender: 'official_fee' }
    // },
    {
      title: '下单时间/领取时间',
      dataIndex: 'submit_mats_time',
      sorter: true,
      scopedSlots: { customRender: 'submit_mats_time' }
    },
    // {
    //   title: '领取时间',
    //   dataIndex: 'received_at',
    //   sorter: true,
    //   width: '110px'
    // },
    {
      title: '专利材料',
      dataIndex: 'patenteer_filename',
      scopedSlots: { customRender: 'patenteer_filename' }
    },
    // {
    //   title: '领取时间',
    //   dataIndex: 'received_at',
    //   sorter: true,
    //   width: '110px'
    // },
    // {
    //   title: '专利材料',
    //   dataIndex: 'patenteer_filename',
    //   scopedSlots: { customRender: 'patenteer_filename' },
    //   width: '130px'
    // },
    {
      title: '专利师',
      dataIndex: 'patenteer',
      scopedSlots: {
        customRender: 'patenteer',
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '流程状态',
      dataIndex: 'status2',
      scopedSlots: { customRender: 'status2' },
      filters: [
        { text: '测试1', value: 'transfer' },
        { text: '测试2', value: 'new' }
      ],
      filterMultiple: false
    },
    {
      title: '附加',
      dataIndex: 'additional_content',
      scopedSlots: { customRender: 'additional_content' }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' },
      width: '100px'
    }
  ],
  feedback: [
    {
      title: '合同/业务编号',
      dataIndex: 'contract_no',
      scopedSlots: { customRender: 'contract_no' }
    },
    {
      title: '顾问',
      dataIndex: 'adviser'
    },
    {
      title: '专利流程',
      dataIndex: 'receiver'
    },
    {
      title: '专利师',
      dataIndex: 'patenteer',
      scopedSlots: { customRender: 'patenteer' }
    },
    {
      title: '业务名称',
      dataIndex: 'business_name',
      sorter: true
    },
    {
      title: '专利材料',
      dataIndex: 'patenteer_filename',
      scopedSlots: { customRender: 'patenteer_filename' }
    },
    {
      title: '流程状态',
      dataIndex: 'status2',
      scopedSlots: { customRender: 'status2' }
    },
    {
      title: '更新稿件时间',
      dataIndex: 'patenteer_update_time',
      sorter: true
    },
    {
      title: '初稿上传时间',
      dataIndex: 'patenteer_frist_time',
      sorter: true
    },
    {
      title: '剩余时间',
      dataIndex: 'submit_update_time',
      scopedSlots: { customRender: 'submit_update_time' }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  receive: [
    {
      title: '#',
      scopedSlots: { customRender: 'xu' },
      width: '40px'
    },
    {
      title: '合同/业务编号',
      dataIndex: 'contract_no',
      scopedSlots: { customRender: 'contract_no' }
    },
    {
      title: '业务小类',
      dataIndex: 'business_name'
    },
    {
      title: '专利名称',
      dataIndex: 'zl_name'
    },
    // {
    //   title: '费用',
    //   dataIndex: 'official_fee',
    //   scopedSlots: { customRender: 'official_fee' }
    // },
    {
      title: '顾问/组别/组长',
      dataIndex: 'adviser',
      scopedSlots: { customRender: 'adviser' }
    },
    {
      title: '下单时间',
      dataIndex: 'submit_mats_time'
    },
    {
      title: '操作',
      dataIndex: 'action',
      width: '150px',
      scopedSlots: { customRender: 'action' }
    }
  ],
  receive2: [
    {
      title: '#',
      scopedSlots: { customRender: 'xu' },
      width: '40px'
    },
    {
      title: '业务编号',
      dataIndex: 'business_no',
      scopedSlots: { customRender: 'business_no' }
    },
    {
      title: '业务小类',
      dataIndex: 'business_name'
    },
    {
      title: '专利名称',
      dataIndex: 'zl_name'
    },
    // {
    //   title: '费用',
    //   dataIndex: 'official_fee',
    //   scopedSlots: { customRender: 'official_fee' }
    // },
    // {
    //   title: '顾问/组别/组长',
    //   dataIndex: 'adviser',
    //   scopedSlots: { customRender: 'adviser' }
    // },
    {
      title: '下单时间',
      dataIndex: 'submit_mats_time'
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  government: [
    {
      title: '合同/业务编号',
      dataIndex: 'contract_no',
      scopedSlots: { customRender: 'contract_no' }
    },
    {
      title: '顾问/组别/组长',
      dataIndex: 'adviser',
      width: '120px',
      scopedSlots: { customRender: 'adviser' }
    },
    {
      title: '业务名称',
      dataIndex: 'business_name',
      ellipsis: true
    },
    {
      title: '专利名称',
      dataIndex: 'zl_name'
    },
    // {
    //   title: '专利流程',
    //   dataIndex: 'receiver',
    //   scopedSlots: { customRender: 'receiver' }
    // },
    {
      title: '专利材料',
      dataIndex: 'patenteer_filename',
      scopedSlots: { customRender: 'patenteer_filename' },
      width: '240px'
    },
    {
      title: '流程状态',
      dataIndex: 'status2',
      scopedSlots: { customRender: 'status2' }
    },
    {
      title: '提交时间/领取时间',
      dataIndex: 'submit_mats_time',
      width: '160px',
      sorter: true,
      scopedSlots: { customRender: 'submit_mats_time' }
    },
    // {
    //   title: '领取时间',
    //   dataIndex: 'received_at',
    //   width: '100px',
    //   sorter: true
    // },
    {
      title: '提交案件倒计时',
      dataIndex: 'updated_at',
      scopedSlots: { customRender: 'updated_at' }
    },
    {
      title: '操作',
      dataIndex: 'action',
      width: '140px',
      scopedSlots: { customRender: 'action' }
    }
  ],
  information: [
    {
      title: '合同/业务编号',
      dataIndex: 'contract_no',
      scopedSlots: {
        customRender: 'contract_no',
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '专利申请号',
      dataIndex: 'zl_no',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '顾问/组别/组长',
      dataIndex: 'adviser',
      width: '120px',
      scopedSlots: { customRender: 'adviser' }
    },
    {
      title: '业务名称',
      dataIndex: 'business_name',
      ellipsis: true
    },
    {
      title: '专利名称',
      dataIndex: 'zl_name',
      scopedSlots: { filterDropdown: 'filterDropdown' },
      ellipsis: true
    },
    {
      title: '专利流程',
      dataIndex: 'receiver'
    },
    {
      title: '专利师',
      dataIndex: 'patenteer'
    },
    {
      title: '案件状态',
      dataIndex: 'state_name',
      scopedSlots: { customRender: 'state_name' }
    },
    // {
    //   title: '流程状态',
    //   dataIndex: 'status2',
    //   scopedSlots: { customRender: 'status2' }
    // },
    {
      title: '操作',
      dataIndex: 'action',
      width: '240px',
      scopedSlots: { customRender: 'action' }
    }
  ],
  task: [
    {
      title: '合同编号',
      dataIndex: 'contract_no',
      scopedSlots: { customRender: 'contract_no' }
    },
    {
      title: '顾问',
      dataIndex: 'adviser_name'
    },
    {
      title: '业务名称',
      dataIndex: 'business_name'
    },
    {
      title: '专利名称',
      dataIndex: 'pt_name'
    },
    {
      title: '申请主体',
      dataIndex: 'company'
    },
    {
      title: '提交时间',
      dataIndex: 'submit_mats_time',
      sorter: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  modal_business: [
    {
      title: '#',
      dataIndex: 'xu',
      width: '40px',
      scopedSlots: { customRender: 'xu' }
    },
    {
      title: '合同编号',
      dataIndex: 'contract_no'
    },
    {
      title: '业务编号',
      dataIndex: 'business_no'
    },
    {
      title: '业务名称',
      dataIndex: 'business_name'
    },
    {
      title: '业务价格',
      dataIndex: 'price'
    },
    {
      title: '提交时间',
      dataIndex: 'submit_mats_time'
    },
    {
      title: '操作',
      dataIndex: 'action',
      width: '130px',
      scopedSlots: { customRender: 'action' }
    }
  ],
  patenter_list: [
    {
      title: '员工ID',
      dataIndex: 'uid',
      width: '100px'
    },
    {
      title: '姓名',
      dataIndex: 'username'
    },
    {
      title: '角色',
      dataIndex: 'group_type',
      scopedSlots: { customRender: 'group_type' }
    },
    {
      title: '员工状态',
      dataIndex: 'status',
      scopedSlots: { customRender: 'status' }
    },
    {
      title: '添加时间',
      dataIndex: 'reg_time',
      sorter: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  warning: [
    {
      title: '合同编号',
      dataIndex: 'contract_no'
    },
    {
      title: '业务编号',
      dataIndex: 'business_no'
    },
    {
      title: '业务类型',
      dataIndex: 'business_name'
    },
    {
      title: '专利名',
      dataIndex: 'zl_name'
    },
    {
      title: '案件类型',
      dataIndex: 'patent_label'
    },
    {
      title: '专利申请人（全部）',
      dataIndex: 'subject',
      scopedSlots: { customRender: 'subject' }
    },
    {
      title: '排期日期',
      dataIndex: 'submit_time',
      sorter: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  pantenter: [
    {
      title: '专利师名称',
      dataIndex: 'name'
    },
    {
      title: '专利师擅长领域',
      dataIndex: 'label',
      scopedSlots: { customRender: 'label' }
    },
    {
      title: '剩余提交数',
      dataIndex: 'submit_num'
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  time: [
    {
      title: '专利号',
      dataIndex: 'zl_no'
    },
    {
      title: '专利名',
      dataIndex: 'zl_name'
    },
    // {
    //   title: '业务编号',
    //   dataIndex: 'business_no'
    // },
    {
      title: '提交时间',
      dataIndex: 'submit_time',
      sorter: true
    }
  ],
  ext_columns: [
    {
      title: '序号',
      dataIndex: 'xu',
      scopedSlots: { customRender: 'xu' }
    },
    {
      title: '所属业务ID',
      dataIndex: 'cb_id',
      scopedSlots: { customRender: 'cb_id' }
    },
    {
      title: '附加项',
      dataIndex: 'name'
    },
    {
      title: '附加项数量',
      dataIndex: 'count'
    },
    {
      title: '附加项单价',
      dataIndex: 'price'
    },
    {
      title: '附加项小计',
      dataIndex: 'amount'
    }
  ],
  lost: [
    {
      title: '失败ID',
      dataIndex: 'log_id'
    },
    {
      title: '业务分类',
      dataIndex: 'category'
    },
    {
      title: '文件',
      dataIndex: 'filename',
      scopedSlots: { customRender: 'filename' }
    },
    {
      title: '上传时间',
      dataIndex: 'created_at'
    }
  ],
  information1: [
    {
      title: '业务编号',
      dataIndex: 'business_no'
    },
    {
      title: '客户名称',
      dataIndex: 'customer_name'
    },
    {
      title: '申请主体',
      dataIndex: 'subject'
    },
    {
      title: '注册号',
      dataIndex: 'zl_no',
      scopedSlots: { customRender: 'zl_no' }
    },
    {
      title: '当前官方状态',
      dataIndex: 'state_name',
      scopedSlots: { customRender: 'state_name' }
    }
  ]
}

export default businessColumns
